<?php
		
	function printMenu()
	{
		$scripts = array(
		"/php/sign_up.php" => "Sign Up",
		"/php/get_user_info.php" => "Get User Info",
		"/php/upload_file.php" => "Upload File",
		"/php/show_uploaded_files.php" => "Show Uploaded Files",
		"/php/get_user_list.php" => "Get User List",
		"/php/fifteen.php" => "Fifteens"
		);
		return $scripts;
	}
	
	function printSex()
	{	
		$sex = array ( "Male", "Female" );
		
		return $sex;
	}

	function printMonths()
	{
		$months = array ( "January","February", "Marth", "April", "May", "June", "July", "August",
						 "September", "October", "November", "December" );
		
		return $months;
	}

	function printDays()
	{
		$days = array();
		for ( $i = 1; $i < 32; ++$i )
		{
			$days[] = $i;
		}
		return $days;
	}

	function printYears()
	{
		$years = array();
		for ( $i = 1950; $i < 2000; ++$i )
		{
			$years[] = $i;
		}
		return $years;
	}
	
	function printFormFind()
	{	
		$vars = array( 
						'Title' => 'Find User',
						'logScript' => checkLog().".php",
						'logMode' => checkLog(),
					  );
	
		$vars['menu'] = printMenu();
		$vars['content'] = getView('templates/find_user.tpl', $vars);

		buildLayout('templates/head.tpl', $vars);				
	}
		
?>